import request from '@/utils/request'

export const getBanner = (data: Record<string, unknown>) => {
  return request({
    url: '/file/getAllFiles',
    method: 'post',
    data,
  })
}

export const getProfile = (query: Record<string, unknown>) => {
  return request({
    url: '/user/getProfile',
    method: 'get',
    params: query,
  })
}
